package com.silent.enums;

/**
 * @author Silent-Y
 *
 */
public enum RestfulEnum {
	UNKONW_ERROR(-1,"未知错误！"),
	SUCCESS(0,"成功！"),
	PRIMARY(100,"小学生！"),
	MIDDLE(101,"初中生！");
	
	private Integer code;
	
	private String msg;

	RestfulEnum(Integer code, String msg) {
		this.code = code;
		this.msg = msg;
	}

	public Integer getCode() {
		return code;
	}

	public String getMsg() {
		return msg;
	}
	
	
	

}
